/*
 * HeartTask.h
 *
 *  Created on: Dec 11, 2015
 *      Author: zhouc
 */

#ifndef HEARTTASK_H_
#define HEARTTASK_H_

#ifdef __cplusplus
extern "C"
{
#endif

#include "ZComDef.h"
// Send Message Timeout
#define HEARTTASK_SEND_MSG_TIMEOUT   5000     // Every 5 seconds

// Application Events (OSAL) - These are bit weighted definitions.
#define HEARTTASK_SEND_MSG_EVT       (0x4000)


/* Task Initialization for the Generic Application
 */
extern void HeartTask_Init( byte task_id );

/*
 * Task Event Processor for the Generic Application
 */
extern UINT16 HeartTask_ProcessEvent( byte task_id, UINT16 events );

/*********************************************************************
*********************************************************************/

#ifdef __cplusplus
}
#endif



#endif /* HEARTTASK_H_ */
